package com.wuzf.service.impl;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.PreparedStatementCreator;
import org.springframework.jdbc.support.GeneratedKeyHolder;

import com.wuzf.dao.PermissionDao;
import com.wuzf.dao.impl.PermissionDaoImpl;
import com.wuzf.entity.Permission;
import com.wuzf.service.PermissionService;
import com.wuzf.utils.JdbcTemplateUtils;

public class PermissionServiceImpl implements PermissionService{

	private PermissionDao dao = new PermissionDaoImpl();
	
	//生成权限数据
	public Permission createPermission(Permission permission) {
		return dao.createPermission(permission);
	}

	public void deletePermission(Long permissionId) {
		// TODO Auto-generated method stub
		
	}
	
}
